WordfenceLS\Controller_Permissions A

Total Complexity 53
Dependencies 2
Dependents 5
Total lines 254
Lines of code 201
Logical lines of code 120
Comment lines 27
Methods 19
Properties 1

Methods 19

Method Rating Maintainability Complexity Lines of code
check_role_sync()
S
51 7 27
sync_roles()
S
51 6 28
_wp_roles()
S
60 4 14
disallow_2fa_self()
S
62 3 12
init()
S
61 3 12
_remove_cap()
S
65 3 9
_remove_cap_multisite()
S
62 3 10
_add_cap()
S
65 3 9
_add_cap_multisite()
S
62 3 10
can_manage_settings()
S
65 3 9
install()
S
64 2 11
shared()
S
69 2 7
allow_2fa_self()
S
66 2 9
on_role_change()
S
73 2 5
get_primary_sites()
S
65 2 9
get_primary_site_id()
S
63 2 10
_wp_initialize_site()
S
80 1 3
_wpmu_new_blog()
S
80 1 3
get_sites()
S
74 1 4